package org.tacticalTroopers.jme.common.message;

import java.util.HashMap;
import java.util.Map;

import com.jme3.network.message.Message;
import com.jme3.network.serializing.Serializable;

@Serializable()
public class Teams extends Message{
	Map<Integer,String> playerToTeam = new HashMap<Integer,String>();
	
	public void setPlayerTeam(Integer id, String value) {
		playerToTeam.put(id, value);
	}

	public String getPlayerTeam(Integer id) {
		return playerToTeam.get(id);
	}
	
	public void removePlayerTeam(Integer id) {
		playerToTeam.remove(id);
	}
}
